package com.tchy.cloud.service;

import com.tchy.cloud.entity.AConsultantEntity;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by xiaoji on 2017/2/23.
 */
public interface AConsultantService {

    /**
     * 保存咨询师（创建对应的用户对象、咨询师服务对象、认证图片对象）
     * @param aConsultantEntity
     * @param request
     */
    void saveAConsultant(AConsultantEntity aConsultantEntity, HttpServletRequest request) throws RuntimeException;

    /**
     * 添加认证图片
     * @param request 请求对象
     * @param consultantId 咨询师地址
     */
    void addAuth(HttpServletRequest request,Long consultantId);

}
